<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>关于 GSWS</title>
    <style>
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            min-height: 100vh;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 20px;
            line-height: 1.6;
        }

        .container {
            background: rgba(255, 255, 255, 0.95);
            backdrop-filter: blur(10px);
            border-radius: 20px;
            padding: 40px;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
            max-width: 600px;
            width: 100%;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .header {
            text-align: center;
            margin-bottom: 30px;
        }

        h1 {
            color: #2d3748;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 10px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .description {
            color: #4a5568;
            font-size: 1.1rem;
            text-align: center;
            margin-bottom: 40px;
            line-height: 1.7;
        }

        .version-card {
            background: linear-gradient(135deg, #f7fafc 0%, #edf2f7 100%);
            padding: 30px;
            border-radius: 15px;
            margin: 30px 0;
            border: 1px solid #e2e8f0;
            text-align: center;
        }

        .version-title {
            color: #2d3748;
            font-weight: 600;
            margin-bottom: 15px;
            font-size: 1.2rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
        }

        .version-info {
            background: #ffffff;
            padding: 20px;
            border-radius: 10px;
            font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
            font-size: 0.9rem;
            border: 1px solid #cbd5e0;
            color: #2d3748;
            font-weight: 500;
            margin-top: 15px;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin: 30px 0;
        }

        .feature-card {
            background: linear-gradient(135deg, #f0fff4 0%, #c6f6d5 100%);
            padding: 20px;
            border-radius: 15px;
            border: 1px solid #9ae6b4;
            text-align: center;
            transition: transform 0.3s ease;
        }

        .feature-card:hover {
            transform: translateY(-5px);
        }

        .feature-icon {
            font-size: 2rem;
            margin-bottom: 10px;
        }

        .feature-title {
            color: #22543d;
            font-weight: 600;
            margin-bottom: 8px;
        }

        .feature-desc {
            color: #2f855a;
            font-size: 0.9rem;
        }

        .link {
            text-align: center;
            margin-top: 40px;
        }

        .btn {
            display: inline-block;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            color: white;
            text-decoration: none;
            padding: 15px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s ease;
            box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
        }

        .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
            text-decoration: none;
        }

        .icon {
            font-size: 1.2em;
            margin-right: 8px;
        }

        .nav-links {
            text-align: center;
            margin-top: 30px;
            padding-top: 20px;
            border-top: 1px solid #e2e8f0;
        }

        .nav-links a {
            color: #667eea;
            text-decoration: none;
            margin: 0 15px;
            font-weight: 500;
            transition: color 0.3s ease;
        }

        .nav-links a:hover {
            color: #764ba2;
            text-decoration: none;
        }

        @media (max-width: 768px) {
            .container {
                padding: 30px 20px;
            }

            h1 {
                font-size: 2rem;
            }

            .description {
                font-size: 1rem;
            }

            .features {
                grid-template-columns: 1fr;
            }
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="header">
            <h1>ℹ️ 关于 GSWS</h1>
        </div>

        <div class="description">
            <p>GSWS 是一个轻量级的静态网站服务器，专为快速部署和高效运行而设计。采用 Go 语言开发，具有出色的性能和稳定性。</p>
        </div>

        <div class="features">
            <div class="feature-card">
                <div class="feature-icon">⚡</div>
                <div class="feature-title">高性能</div>
                <div class="feature-desc">基于 Go 语言的高效并发处理</div>
            </div>
            <div class="feature-card">
                <div class="feature-icon">🔧</div>
                <div class="feature-title">易配置</div>
                <div class="feature-desc">简单的 JSON 配置文件</div>
            </div>
            <div class="feature-card">
                <div class="feature-icon">🛡️</div>
                <div class="feature-title">安全性</div>
                <div class="feature-desc">防止目录遍历攻击</div>
            </div>
            <div class="feature-card">
                <div class="feature-icon">📊</div>
                <div class="feature-title">监控</div>
                <div class="feature-desc">实时运行状态统计</div>
            </div>
        </div>

        <div class="version-card">
            <div class="version-title">
                <span>🚀</span>
                <span>版本信息</span>
            </div>
            <div class="version-info">{{.VersionString}}</div>
        </div>

        <div class="link">
            <a href='https://gsws.gxj62.cn/' class="btn">
                <span class="icon">🌍</span>访问 GSWS 项目主页
            </a>
        </div>

        <div class="nav-links">
            <a href="/gsws-stats">📊 统计信息</a>
            <a href="/">🏠 返回首页</a>
        </div>
    </div>
</body>
</html>